user1 = {
    "name": "jack",
    "age": 18
}

user2 = {
    "name": "nick",
    "age": 20
}

users = [user1, user2]

for user in users:
    print(user)

favorite_places = {
    'jack': ['suzhou'],
    'nick': ['suzhou', 'chengdu']
}

for key, value in favorite_places.items():
    print(f'{key}喜欢的城市有')
    for place in value:
        print(f"\t{place}")

cities = {
    'beijing': {
        'country': 'zhongguo',
        'size': 20
    },
    'niuyue': {
        'country': 'USA',
        "size": 12
    }
}

for key, values in cities.items():
    print(f'{key}:')
    for c, value in values.items():
        print(f'\t{c}:{value}')
